#pragma once

#include "../../test.h"
#include "../Time.hpp"

namespace header
{
namespace test
{

TEST(Time)
{
    // Time time1;
    // EXPECT_NE("", time1.to_string());
    Time time2(0, 9, 0, 99);
    EXPECT_EQ("00:09:00.99", time2.to_string("hh:mm:ss.z"));
    EXPECT_EQ(" 0:09:00.99", time2.to_string(" h:mm:ss.z"));
    EXPECT_EQ("00: 9:00.99", time2.to_string("hh: m:ss.z"));
    EXPECT_EQ("00:09: 0.99", time2.to_string("hh:mm: s.z"));
    EXPECT_EQ(" 0: 9: 0.99", time2.to_string(" h: m: s.z"));
    EXPECT_EQ("0H:9M:0S.99Z", time2.to_string("hH:mM:0S.zZ"));
}

}   // namespace test
}   // namespace header
